#include "BehaviorSeek.h"
#include "BoidBase.h"

//! executes behavior.
Ogre::Vector3 BehaviorSeek::execute(const BoidBase* boid)
{
	Ogre::Vector3 desiredVector = mTarget - boid->getPosition();
	desiredVector.normalise();
	return desiredVector;
}
